//
//  YWSearchDocsModel.m
//  聆听FM
//
//  Created by dllo on 16/6/20.
//  Copyright © 2016年 Dark. All rights reserved.
//

#import "YWSearchDocsModel.h"
#import "YWSearchModel.h"

@implementation YWSearchDocsModel

- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super initWithDic:dic];
    if (self) {
        NSMutableArray *tempArray = [NSMutableArray array];
        for (NSDictionary *dic in _docs) {
            YWSearchModel *searchModel = [[YWSearchModel alloc] initWithDic:dic];
            [tempArray addObject:searchModel];
        }
        self.docs = [NSArray arrayWithArray:tempArray];
    }
    return self;
}

@end
